home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
hard
/
drivr
/
LCD_102.lha
/
io08dev.lha
/
IO_Library
/
doc
/
io.doc
Wrap
Text File
|
1995-02-25
|
17KB
|
842 lines
TABLE OF CONTENTS
io.library/io_AllocExtParPort
io.library/io_AllocExtSerPort
io.library/io_AllocJoyPort
io.library/io_AllocParPort
io.library/io_AllocSerPort
io.library/io_FreeExtParPort
io.library/io_FreeExtSerPort
io.library/io_FreeParPort
io.library/io_FreeSerPort
io.library/io_ReadExtParA
io.library/io_ReadJoy1A
io.library/io_ReadJoy2A
io.library/io_ReadParA
io.library/io_SetExtParDir
io.library/io_SetExtParDirA
io.library/io_SetJoy1Dir
io.library/io_SetJoy1DirA
io.library/io_SetJoy2Dir
io.library/io_SetJoy2DirA
io.library/io_SetParDir
io.library/io_SetParDirA
io.library/io_WriteExtParA
io.library/io_WriteJoy1A
io.library/io_WriteJoy2A
io.library/io_WriteParA
io.library/io_AllocExtParPort io.library/io_AllocExtParPort
NAME
io_AllocExtParPort -- Allocate extra (Busy, Pout, Sel)
parallel bits for use with
io.library.
SYNOPSIS
result = io_AllocExtParPort()
int io_AllocExtParPort( void );
FUNCTION
Reserve the use of the parallel bits (POUT, SEL, BUSY) to
io.library.
INPUTS
none
RESULT
result - NULL for success, -1 for error while opening misc.resource,
-2 for error while opening ciaa.resource or ciab.resource
-3 for Busy, Pout, Sel parallel bits already in use.
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocParPort()
io.library/io_AllocExtSerPort io.library/io_AllocExtSerPort
NAME
io_AllocExSerPort -- Allocate extra (DTR, CTS, etc)
serial bits for use with
io.library.
SYNOPSIS
result = io_AllocExtSerPort()
int io_AllocExtSerPort( void );
FUNCTION
Reserve the use of the serial bits to
io.library (see resources/misc.h ).
INPUTS
none
RESULT
result - NULL for success, -1 for error while opening misc.resource,
-2 for error while opening ciaa.resource or ciab.resource
-3 for serial bits already in use.
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocSerPort()
io.library/io_AllocJoyPort io.library/io_AllocJoyPort
NAME
io_AllocJoyport -- Allocate JoyPort bits for use with io.library.
SYNOPSIS
result io_AllocJoyPort()
D0
int io_AllocJoyPort( void );
INPUTS
none
FUNCTION
Reserve the use of JoyPort2 (pin: 5, 6, 9) to io.library.
RESULT
NULL for success, -1 for error while opening potgo.resource,
-2 for error while opening ciaa.resource or ciab.resource.
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocParPort io.library/io_AllocParPort
NAME
io_AllocParPort -- Allocate parallel bits for use with
io.library.
SYNOPSIS
result = io_AllocParPort()
int io_AllocParPort( void );
FUNCTION
Reserve the use of the parallel bits (D0-D7) to
io.library.
INPUTS
none
RESULT
result - NULL for success, -1 for error while opening misc.resource,
-2 for error while opening ciaa.resource or ciab.resource
-3 for D0-D7 parallel bits already in use.
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocExtParPort()
io.library/io_AllocSerPort io.library/io_AllocSerPort
NAME
io_AllocSerPort -- Allocate serial bits for use with
io.library.
SYNOPSIS
result = io_AllocSerPort()
int io_AllocSerPort( void );
FUNCTION
Reserve the use of the serial bits to
io.library.
INPUTS
none
RESULT
result - NULL for success, -1 for error while opening misc.resource,
-2 for error while opening ciaa.resource or ciab.resource
-3 for serial bits already in use.
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocExtSerPort()
io.library/io_FreeExtParPort io.library/io_FreeExtParPort
NAME
io_FreeExtParPort -- Free parallel bits allocated by
io_AllocExtParPort().
SYNOPSIS
io_FreeExtParPort()
void io_FreeExtParPort( void );
FUNCTION
Free parallel bits (POUT, SEL, BUSY) allocated
by io_AllocExtParPort().
INPUTS
none
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocExtParPort()
io.library/io_FreeExtSerPort io.library/io_FreeExtSerPort
NAME
io_FreeExtSerPort -- Free serial bits allocated by
io_AllocExtSerPort().
SYNOPSIS
io_FreeExtSerPort()
void io_FreeExtSerPort( void );
FUNCTION
Free serial bits ([...]) allocated
by io_AllocExtSerPort().
INPUTS
none
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocExtSerPort()
io.library/io_FreeParPort io.library/io_FreeParPort
NAME
io_FreeParPort -- Free parallel bits allocated by
io_AllocParPort().
SYNOPSIS
io_FreeParPort()
void io_FreeParPort( void );
FUNCTION
Free parallel bits (D0-D7) allocated
by io_AllocParPort().
INPUTS
none
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocParPort()
io.library/io_FreeSerPort io.library/io_FreeSerPort
NAME
io_FreeSerPort -- Free serial bits allocated by
io_AllocSerPort().
SYNOPSIS
io_FreeSerPort()
void io_FreeSerPort( void );
FUNCTION
Free serial bits ([...]) allocated
by io_AllocSerPort().
INPUTS
none
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_AllocSerPort()
io.library/io_ReadExtParA io.library/io_ReadExtParA
NAME
io_ReadExtParA -- Read the logic state for parallel bits
(BUSY, POUT, SEL).
SYNOPSIS
void io_ReadExtParA(pin)
D0
void io_ReadExtParA(int);
INPUTS
pin - Number of the pin (0 for BUSY, 1 for POUT, 2 for SEL)
FUNCTION
Read the logic state for parallel bits.
BUSY is pin 11, POUT is pin 12, SEL is pin 13.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetExtParDirA()
io.library/io_ReadJoy1A io.library/io_ReadJoy1A
NAME
io_ReadJoy1A -- Read the logic state for Joyport 1.
SYNOPSIS
void io_ReadJoy1A(pin)
D0
void io_ReadJoy1A(int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
FUNCTION
Read the logic state of Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none
NOTES
none
SEE ALSO
io.library/io_SetJoy1DirA(), io.library/io_WriteJoy1A()
io.library/io_ReadJoy2A io.library/io_ReadJoy2A
NAME
io_ReadJoy2A -- Read the logic state for Joyport 2.
SYNOPSIS
void io_ReadJoy2A(pin)
D0
void io_ReadJoy2A(int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
FUNCTION
Read the logic state of Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy2DirA(), io.library/io_WriteJoy2A
io.library/io_ReadParA io.library/io_ReadParA
NAME
io_ReadParA -- Read the logic state for parallel bits (D0-D7) .
SYNOPSIS
void io_SetParA(pin)
D0
void io_SetParA(int);
INPUTS
pin - Number of the pin (0 for D0, 1 for D1, ..., 7 for D7)
FUNCTION
Read the logic state for parallel bits.
D0 is pin 2, D1 is pin 3, ..., D7 is pin 8.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetParDirA()
io.library/io_SetExtParDir io.library/io_SetExtParDir
NAME
io_SetExtParDir -- Set the direction for parallel bits (BUSY,
POUT, SEL).
SYNOPSIS
void io_SetExtParDir( UBYTE )
D0
void io_SetExtParDir( signals );
INPUTS
signals - an UBYTE with the signals to set.
FUNCTION
Set the direction for parallel bits.
BUSY is pin 10, POUT is pin 11, SEL is pin 12.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetExtParDirA()
io.library/io_SetExtParDirA io.library/io_SetExtParDirA
NAME
io_SetExtParDirA -- Set the direction for parallel bits
(BUSY, POUT, SEL).
SYNOPSIS
void io_SetExtParDirA(pin, dir)
D0 D1
void io_SetExtParDirA(int, int);
INPUTS
pin - Number of the pin (0 for BUSY, 1 for POUT, 2 for SEL)
state - 0 for input, 1 for output
FUNCTION
Set the direction for parallel bits.
BUSY is pin 11, POUT is pin 12, SEL is pin 13.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetExtParDir()
io.library/io_SetJoy1Dir io.library/io_SetJoy1Dir
NAME
io_SetJoy1ParDir -- Set the direction for Joyport 1.
SYNOPSIS
void io_SetJoy1Dir( UBYTE )
D0
void io_SetJoy1Dir( signals );
INPUTS
signals - an UBYTE with the signals to set.
FUNCTION
Set the direction for parallel bits.
Bit 0 is pin 9, bit 1 is pin 5, bit 2 is pin 6.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy1DirA()
io.library/io_SetJoy1DirA io.library/io_SetJoy1DirA
NAME
io_SetJoy1DirA -- Set the direction for Joyport 1.
SYNOPSIS
void io_SetJoy1DirA(pin, dir)
D0 D1
void io_SetJoy1DirA(int, int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
dir - 0 for input, 1 for output
FUNCTION
Set the direction for Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy1Dir()
io.library/io_SetJoy2Dir io.library/io_SetJoy2Dir
NAME
io_SetJoy2ParDir -- Set the direction for Joyport 2.
SYNOPSIS
void io_SetJoy2Dir( UBYTE )
D0
void io_SetJoy2Dir( signals );
INPUTS
signals - an UBYTE with the signals to set.
FUNCTION
Set the direction for parallel bits.
Bit 0 is pin 9, bit 1 is pin 5, bit 2 is pin 6.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy2DirA()
io.library/io_SetJoy2DirA io.library/io_SetJoy2DirA
NAME
io_SetJoy2DirA -- Set the direction for Joyport 2.
SYNOPSIS
void io_SetJoy2DirA(pin, dir)
D0 D1
void io_SetJoy2DirA(int, int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
dir - 0 for input, 1 for output
FUNCTION
Set the direction for Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy2Dir()
io.library/io_SetParDir io.library/io_SetParDir
NAME
io_SetParDir -- Set the direction for parallel bits (D0-D7) .
SYNOPSIS
void io_SetParDir( UBYTE )
D0
void io_SetParDir( signals );
INPUTS
signals - an UBYTE with the signals to set.
FUNCTION
Set the direction for parallel bits.
bit 0 is D0 (pin2), bit 1 is D1 (pin 3), ..., 7 is D7 (pin 9).
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetParDirA()
io.library/io_SetParDirA io.library/io_SetParDirA
NAME
io_SetParDirA -- Set the direction for parallel bits (D0-D7) .
SYNOPSIS
void io_SetParDirA(pin, dir)
D0 D1
void io_SetParDirA(int, int);
INPUTS
pin - Number of the pin (0 for D0, 1 for D1, ..., 7 for D7)
state - 0 for input, 1 for output
FUNCTION
Set the direction for parallel bits.
D0 is pin 2, D1 is pin 3, ..., D7 is pin 8.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetParDir()
io.library/io_WriteExtParA io.library/io_WriteExtParA
NAME
io_WriteExtParA -- Set the logic state for parallel bits
(BUSY, POUT, SEL).
SYNOPSIS
void io_WriteExtParA(pin, dir)
D0 D1
void io_WriteExtParA(int, int);
INPUTS
pin - Number of the pin (0 for BUSY, 1 for POUT, 2 for SEL)
state - 0 for logic state 0 (0 volts),
1 for logic state 1 (5 volts).
FUNCTION
Set the logic state for parallel bits.
BUSY is pin 11, POUT is pin 12, SEL is pin 13.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_WriteExtPar()
io.library/io_WriteJoy1A io.library/io_WriteJoy1A
NAME
io_WriteJoy1A -- Set the logic state for Joyport 1.
SYNOPSIS
void io_WriteJoy1A(pin, state)
D0 D1
void io_WriteJoy1A(int, int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
state - 0 for logic state 0 (0 volts),
1 for logic state 1 (5 volts).
FUNCTION
Set the logic state for Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none
NOTES
none
SEE ALSO
io.library/io_SetJoy1DirA(), io.library/io_ReadJoy1DirA()
io.library/io_WriteJoy2A io.library/io_WriteJoy2A
NAME
io_WriteJoy2A -- Set the logic state for Joyport 2.
SYNOPSIS
void io_WriteJoy2A(pin, state)
D0 D1
void io_WriteJoy2A(int, int);
INPUTS
pin - Number of the pin (0 for pin 9, 1 for pin 5, 2 for pin 6)
state - 0 for logic state 0 (0 volts),
1 for logic state 1 (5 volts).
FUNCTION
Set the logic state for Joyport 1 Input/Output bits (pin 5,6,9).
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetJoy2DirA(), io.library/io_ReadJoy2A
io.library/io_WriteParA io.library/io_WriteParA
NAME
io_WriteParA -- Set the logic state for parallel bits (D0-D7) .
SYNOPSIS
void io_SetParA(pin, state)
D0 D1
void io_SetParA(int, int);
INPUTS
pin - Number of the pin (0 for D0, 1 for D1, ..., 7 for D7)
state - 0 for logic state 0 (0 volts), 1 for output
FUNCTION
Set the logic state for parallel bits.
D0 is pin 2, D1 is pin 3, ..., D7 is pin 8.
RESULT
none
BUGS
none known
NOTES
none
SEE ALSO
io.library/io_SetParDirA()